package com.chenxingnet.service;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import org.apache.ibatis.annotations.Param;
import org.springframework.ui.Model;

import com.chenxingnet.dto.Waybills;
import com.chenxingnet.dto.vo.AccountingControlVo;

public interface AccountingService {
	
	/**
	 * 查询所有信息
	 * @param model 
	 * @param request 
	 * @return
	 */
	List<AccountingControlVo> selectAll(HttpServletRequest request, Model model);
	//移动端查询分页
	List<AccountingControlVo> mobSelectAll(HttpServletRequest request);
	
	/**
	 * 根据部门id或者车型查询信息
	 * @param deptid
	 * @param veh
	 * @return
	 */
	List<AccountingControlVo> selectByDeptVSveh(@Param("deptid")Integer deptid,@Param("veh")String veh);
	List<AccountingControlVo> selectAllBySerach(HttpServletRequest request, Model model,String deptname, String chexing,String   xingming,  String  jiesuan,String  jiashiyuanjs);
	List<AccountingControlVo> selectAllSingle(int parseInt);
	
	List<AccountingControlVo> selectAllBySou(HttpServletRequest request, Model model,Waybills waybills);
	

}
